export default () => {
  return {
    tooltip: {
      show: true,
    },
    title: {
      left: "center",
      textStyle: {
        color: "#fff",
      },
    },
    grid: {
      top: 10,
      left: 30,
      bottom: 40,
      right: 20,
    },
    legend: {
      left: "right",
      top: "top",
      textStyle: {
        color: "#fff",
      },
      show: true,
    },
    dataZoom: [
      {
        type: "inside",
      },
    ],
    toolbox: {
      feature: {
        // saveAsImage: {},
      },
    },
    xAxis: {
      type: "category",
      data: [],
      axisLabel: {
        textStyle: {
          color: "#409eff", //更改坐标轴文字颜色
        },
      },
    },
    yAxis: {
      type: "value",
      axisLabel: {
        textStyle: {
          color: "#409eff", //更改坐标轴文字颜色
        },
      },
    },
  };
};
